a=input("请输入身份证：")
nian=a[6:10]
yue=a[10:12]
ri=a[12:14]
xin=float(a[16])
if xin%2==0 or xin==0:
    print(f'{nian}-{yue}-{ri}:girl')
else:
    print(f'{nian}-{yue}-{ri}:boy')

